From: Laurent Bonnans Date: Fri, 31 Aug 2018 10:01:47 +0000 (+0200) Subject: lib/fetcher: Fix some memory leaks in curl fetcher X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~19^2~48 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=630b7864020163757fdcc68cb5ef66b3ad568d48;p=ostree.git lib/fetcher: Fix some memory leaks in curl fetcher Closes: #1716 Approved by: cgwalters --- diff --git a/src/libostree/ostree-fetcher-curl.c b/src/libostree/ostree-fetcher-curl.c index 2e090cfa..64e1c34e 100644 --- a/src/libostree/ostree-fetcher-curl.c +++ b/src/libostree/ostree-fetcher-curl.c @@ -172,6 +172,9 @@ _ostree_fetcher_finalize (GObject *object) curl_multi_cleanup (self->multi); g_free (self->remote_name); + g_free (self->tls_ca_db_path); + g_free (self->tls_client_cert_path); + g_free (self->tls_client_key_path); g_free (self->cookie_jar_path); g_free (self->proxy); g_assert_cmpint (g_hash_table_size (self->outstanding_requests), ==, 0);